package com.owen.pojo;

import java.io.Serializable;

public class Product implements Serializable {

    // 主键ID
    private Integer id;

    // 上架日期
    private String createtime;

    // 商品分类名
    private String content;

    // 商品名
    private String name;

    // 单价
    private Integer price;

    private String productlock;

    //商品分类ID
    private String fenleiid;

    public Product() {
    }

    public Product(Integer id, String createtime, String content, String name, Integer price, String productlock, String fenleiid) {
        this.id = id;
        this.createtime = createtime;
        this.content = content;
        this.name = name;
        this.price = price;
        this.productlock = productlock;
        this.fenleiid = fenleiid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getProductlock() {
        return productlock;
    }

    public void setProductlock(String productlock) {
        this.productlock = productlock;
    }

    public String getFenleiid() {
        return fenleiid;
    }

    public void setFenleiid(String fenleiid) {
        this.fenleiid = fenleiid;
    }

    @Override
    public String toString() {
        return "Product{" +
                "id=" + id +
                ", createtime='" + createtime + '\'' +
                ", content='" + content + '\'' +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", productlock='" + productlock + '\'' +
                ", fenleiid='" + fenleiid + '\'' +
                '}';
    }
}